MailPoet\Config\Initializer S

Total Complexity 45
Dependencies 37
Dependents 2
Total lines 366
Lines of code 236
Logical lines of code 132
Comment lines 24
Methods 27
Properties 20

Methods 27

Method Rating Maintainability Complexity Lines of code
init()
S
45 2 51
initialize()
S
52 3 26
setupUpdater()
S
61 3 13
setupWoocommerceTransactionalEmails()
S
67 3 8
runActivator()
S
66 3 9
postInitialize()
S
64 3 10
maybeDbUpdate()
S
64 3 10
preInitialize()
S
64 2 11
__construct()
S
55 1 20
setupCronTrigger()
S
74 2 5
handleRunningMigration()
S
71 2 6
handleFailedInitialization()
S
71 2 6
setupUserLocale()
S
73 2 5
setupPersonalDataExporters()
S
77 1 4
multisiteDropTables()
S
69 1 6
setupAutomaticEmails()
S
74 1 5
setupPermanentNotices()
S
82 1 3
setupPersonalDataErasers()
S
77 1 4
setupLocalizer()
S
82 1 3
setupCapabilities()
S
76 1 4
setupPages()
S
75 1 4
setupWidget()
S
81 1 3
setupConflictResolver()
S
77 1 4
setupInstaller()
S
72 1 6
setupImages()
S
80 1 3
setupShortcodes()
S
82 1 3
setupPrivacyPolicy()
S
77 1 4